home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / coachsed.cst / 00001_Script_Start and Stop movie scripts next >
Text File  |  1999-06-17  |  819b  |  29 lines

  1. on startMovie
  2.   --QUESTIONS?  email steveh@coachsedge.com
  3.   global pDelim  --  crossplatform convention
  4.   global PlayPakTitle, moduleManager
  5.   
  6.   if the platForm contains "Windows" then
  7.     set pDelim = "\"
  8.   else
  9.     set pDelim = ":"
  10.   end if
  11.   
  12.   
  13.   --Open the playpak  
  14.   set playPakPath to "Data"  --  path to folder where data file is stored
  15.   set chapterWindowSprite = 20 -- The sprite, on the stage, sets the rect of the windows
  16.   --                              That will be opened inside of it.  
  17.   --                              (all we really need here is it's rect, could be handled differently)
  18.   
  19.   set moduleManager = new(script "moduleManager_Class" playPakPath, chapterWindowSprite)
  20.   installMenu "theMenu"
  21. end
  22.  
  23.  
  24. on stopMovie
  25.   clearglobals
  26.   set the windowlist to []
  27. end
  28.  
  29.